SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING OFF
GO
CREATE TABLE [dbo].[error_log](
	[error_log_id] [int] IDENTITY(1,1) NOT NULL,
	[source] [varchar](100) NOT NULL,
	[message] [varchar](max) NOT NULL,
	[log_dtm] [datetime] NOT NULL,
 CONSTRAINT [PK_error_log] PRIMARY KEY CLUSTERED 
(
	[error_log_id] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
ALTER TABLE [dbo].[error_log] ADD  CONSTRAINT [CURRENT_DATE46]  DEFAULT (getdate()) FOR [log_dtm]
GO
